The sATA_CMD
structure contains information about the ATA Command.
|
typedef
struct _ATA_PASSTHROUGH_COMMAND { struct { BYTE features; BYTE sector_count; BYTE sector_number; BYTE cylinder_low; BYTE cylinder_high; BYTE device_head; BYTE command; BYTE error; BYTE status; BYTE reserved[6]; }regs; BYTE command_mode; BYTE data[512]; } sATA_CMD,
*pATA_CMD; |
features:
sector_count:
sector_number:
cylinder_low:
cylinder_high:
device_head:
command:
error:
status:
Please refer to ATA
specification
command_mode:
|
Value |
Meaning |
|
PIO_NON_DATA |
Protocol is non-data |
|
PIO_DATA_IN |
Protocol is data-in |
|
PIO_DATA_OUT |
Protocol is data-out |
|
|
|
data:
Buffer
for data
Requirements
|
Header |
arclib.h |
|
Include |
arclib.h |
See Also